package com.example.stock.entity;


import lombok.Data;

import java.util.List;

@Data
public class StockDataResponse {
    private int code;
    private String msg;
    private Data data;

    // Getters and Setters
    public int getCode() { return code; }
    public void setCode(int code) { this.code = code; }
    public String getMsg() { return msg; }
    public void setMsg(String msg) { this.msg = msg; }
    public Data getData() { return data; }
    public void setData(Data data) { this.data = data; }

    public static class Data {
        private List<Area> area;
        private List<Concept> concept;
        private List<Plate> plate;

        // Getters and Setters
        public List<Area> getArea() { return area; }
        public void setArea(List<Area> area) { this.area = area; }
        public List<Concept> getConcept() { return concept; }
        public void setConcept(List<Concept> concept) { this.concept = concept; }
        public List<Plate> getPlate() { return plate; }
        public void setPlate(List<Plate> plate) { this.plate = plate; }
    }

    public static class Area {
        private String id;
        private String name;
        private String zdf;

        // Getters and Setters
        public String getId() { return id; }
        public void setId(String id) { this.id = id; }
        public String getName() { return name; }
        public void setName(String name) { this.name = name; }
        public String getZdf() { return zdf; }
        public void setZdf(String zdf) { this.zdf = zdf; }
    }

    public static class Concept {
        private String id;
        private String name;
        private String tag;
        private String zdf;

        // Getters and Setters
        public String getId() { return id; }
        public void setId(String id) { this.id = id; }
        public String getName() { return name; }
        public void setName(String name) { this.name = name; }
        public String getTag() { return tag; }
        public void setTag(String tag) { this.tag = tag; }
        public String getZdf() { return zdf; }
        public void setZdf(String zdf) { this.zdf = zdf; }
    }

    public static class Plate {
        private String id;
        private String level;
        private String name;
        private String zdf;

        // Getters and Setters
        public String getId() { return id; }
        public void setId(String id) { this.id = id; }
        public String getLevel() { return level; }
        public void setLevel(String level) { this.level = level; }
        public String getName() { return name; }
        public void setName(String name) { this.name = name; }
        public String getZdf() { return zdf; }
        public void setZdf(String zdf) { this.zdf = zdf; }
    }
}
